* {
    font-family: 'Montserrat', sans-serif;
}
body  {
    /* padding-bottom: 70px; */
    
    background: linear-gradient( rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1) ), url("assets/blockpropertythingy.png") no-repeat center center fixed;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
    height: 100vh;
    overflow-x: auto;
}

#about-body {
    background-color: rgba(255, 255, 255, 0.856);
}

.navbar {
    background-color: transparent;
    background: transparent;
    border-color: transparent;
    margin-bottom: 0;
}
.navbar-default .navbar-toggle .icon-bar {
    background-color: white;
}
.navbar-nav>li>a.navbar-item {
    color: white;
    text-shadow: 1px 1px 5px black;
    font-weight: 500;
    font-size: 20px;
}
.navbar-nav>li>a.navbar-disabled {
    color: #a8a8a8;
}
.navbar-nav>li>a.navbar-item:hover {
    color: white;
    text-decoration: underline;
}
.navbar-nav>li>a.navbar-item.navbar-disabled:hover {
    color: #a8a8a8;
}

.vertical-divider {
    height: 40px;
    width: 2px;
    margin: 5px 9px;
    background-color: white;
    box-shadow: 1px 1px 5px black;
}
.horizontal-divider, hr {
    height: 1px;
    /* margin: 9px 0; */
    overflow: hidden;
    background-color: white;
    box-shadow: 0px 0px 5px black, 1px 1px 2px black;
}


h1, h2, h3 {
    color: white;
    text-shadow: 0px 0px 5px black, 2px 2px 3px black;
}

:is(h1, h2, h3).black-text {
    color: black;
    text-shadow: none;
}

h1 {
    font-size: 40px;
}
h2 {
    font-size: 30px;
}
h3, .about-text, .written-list {
    font-size: 24px;
}

a {
    color: #2f90e6;
}
a:hover {
    color: #05447c;
}

.select-option, .selection-category {
    margin: 5px 4px;
    font-size: 14px;
    padding: 6px 16px !important;
    margin: 0px;
}
.dropdown-actions {
    padding: 0;
    padding-bottom: 5px;
}
.selected {
    background-color: #B7E1CD;
}
.selected:hover {
    background-color: #AED6C3 !important;
}

#search {
    margin: 6px;
    width: 100%;
}
@media (min-width: 768px) {
    #search {
        width: 400px;
    }
}

.col-sm-12, .container-fluid {
    padding: 0;
}

.results {
    max-width: fit-content;
    margin:auto;
    padding: 0px;
    display: flex;
    align-items: center;
    /* overflow-x: auto; */
    height: 100%;
    flex-grow: 1;
}

#output_table {
    width: fit-content;
    align-items: center;
    margin-bottom: 0;
    background-color: white;
    filter: drop-shadow(0px 0px 4px gray);
}
#output_table>*>*>td, .table.nested-table>*>*>td {
    padding: 4px 6px;
}

li {
    list-style-position: inside;
}

.table-header {
    display: flex;
    justify-content: space-between;
    text-decoration: none;
    color: black;
    cursor: pointer;
    margin: 0 auto;
    padding: 6px 8px;
    height: 100%;
    /* cursor: progress; */
}
.table-header:hover {
    text-decoration: none;
    color: #666;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
      -webkit-user-select: none; /* Safari */
       -khtml-user-select: none; /* Konqueror HTML */
         -moz-user-select: none; /* Old versions of Firefox */
          -ms-user-select: none; /* Internet Explorer/Edge */
              user-select: none; /* Non-prefixed version, currently
                                    supported by Chrome, Edge, Opera and Firefox */
}

.justify-start {
    margin-right: auto;
}

.dropdown-scrollable {
    max-height: 50vh;
    overflow-y: auto;
}

.dropdown-scrollable>li>a:focus, .dropdown-scrollable>li>a:hover {
    color: #262626;
    text-decoration: none;
    background-color: #f5f5f5;
}
.dropdown-scrollable>li>a {
    display: block;
    padding: 3px 20px;
    clear: both;
    font-weight: 400;
    line-height: 1.42857143;
    color: #333;
    white-space: nowrap;
}

.dropdown-option {
    display: flex !important;
    justify-content: space-between;
}
.dropdown-option>.glyphicon-ok, .icons {
    margin-left: 10px;
    white-space: nowrap;
}
.modify-filter {
    padding: 3px 15px !important;
}

.dropdown-menu>p {
    line-height: 1.42857143;
    font-weight: normal;
    padding: 3px 15px;
    margin: 0;
}

.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    min-width: 250px;
    margin-top: -6px;
    margin-left: -1px;
    -webkit-border-radius: 0 6px 6px 6px;
    -moz-border-radius: 0 6px 6px;
    border-radius: 0 6px 6px 6px;
}

.dropdown-submenu:hover>.dropdown-menu,
.dropdown-submenu.open>.dropdown-menu  {
    display: block;
}
.dropdown-menu>li.dropdown-submenu.open>a {
    background-color: #dbdbdb;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    border-color: transparent;
    border-style: solid;
    border-width: 5px 0 5px 5px;
    border-left-color: #aaa;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #000;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.dot {
    height: 18px;
    width: 18px;
    border-radius: 50%;
    display: inline-block;
    margin-left: -2px;
    margin-right: 3px;
}

.sprite {
    display: inline-block;
    vertical-align: text-top;
    height: 16px;
    width: 16px;
    background-repeat: no-repeat;
    image-rendering: pixelated;
}
.block-sprite {
    background-image: url(assets/BlockCSS.png);
}
.entity-sprite {
    background-image: url(assets/EntityCSS.png);
}
.item-sprite {
    background-image: url(assets/ItemCSS.png);
}

.search-highlight {
    background-color: yellow;
}

.display-none {
    display: none !important;
}

.icons {
    align-self: center;
}

.table-bordered>tbody>tr>td,
.table-bordered>thead>tr>th,
.table-bordered {
    border-color: #AAA;
}

th {
    background-color: #f5f5f5;
    border-bottom-width: 0 !important;
    box-shadow: inset 0 -1px 0 #AAA;
    padding: 2px 0 !important;
    position: sticky;
    top: -1px;
    /* z-index: 2; */
}

/* Conditional formatting: */
.cf-yes { background-color: #B7E1CD !important;}
.cf-no { background-color: #F4C7C3 !important;}
.cf-neutral { background-color: #FCE8B2 !important;}
.cf-neutral-yes { background-color: #DDE6BA !important;}
.cf-neutral-no { background-color: #F9D9B8 !important;}

.cf-invalid { background-color: #CCC !important;}

/* .cf-numeric { background-color: #D0EBFB;} */

.nested-table {
    margin-bottom: 0px;
    width: 100%;
    /* border-collapse: collapse;
    border-style: hidden; */
}
.nested-cell {
    height: auto;
    padding: 0px !important;
}
td .nested-table {
    width: 100%;
    white-space: nowrap
}
.nested-table>tbody>tr>td:last-child {
    width: 22px;
    /* text-align: right; */
    white-space: nowrap;
}

.expand-btn {
    color: #333;
    background-color: #A3D6FC;
    border-color: #aaa;
}

.settings {
    margin: 3px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.settings-box {
    min-width: fit-content;
    margin: 5px;
    padding: 7px;
    background-color: #f5f5f5;
    box-shadow: 0px 0px 4px black;
}
.settings-box>p {
    color: black;
    text-shadow: none;
    font-size: 24px;
}
.settings-box>button, .settings-box>.btn-group, .settings-box>a {
    border-radius: 4px;
    box-shadow: 1px 1px 4px rgba(47, 47, 47, 0.828);
}

#scrollButton {
    display: none;
    position: fixed;
    bottom: 30px;
    right: 40px;
    z-index: 99;
    border: #bbb 1px solid;
    background-color: white;
    color: #777;
    cursor: pointer;
    width: 50px;
    height: 50px;
    border-radius: 25px;
    font-size: 30px;
    box-shadow: 1px 1px 4px rgba(47, 47, 47, 0.828);
}

#scrollButton:hover {
    background-color: #ddd;
}

/* Scrollbar Deco */
::-webkit-scrollbar {
    width: 0.8em;
}

::-webkit-scrollbar-track {
    background: #ffffff; /* Dark mode: #000000 */

}
::-webkit-scrollbar-thumb {
    background: #a8a8a8; /*Dark mode: #5c5c5c */
    border-radius: 90vw;
    border: 2px solid #ffffff; /* Dark mode: #000000 */
}

html {
    scroll-behavior: smooth;
}
